#ifndef CATEGORYDIALOG_H
#define CATEGORYDIALOG_H

#include <QDialog>

namespace Ui {
class CategoryDialog;
}

class CategoryDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit CategoryDialog(QWidget *parent = 0);
    ~CategoryDialog();

    QString getName();
    QString getDescription();
    QString getImagePath();
    QString getSoundPath();

    void setName(const QString &value);
    void setDescription(const QString &value);
    void setImagePath(const QString &value);
    void setSoundPath(const QString &value);
    bool IsAccepted(){return isAccepted;};

    
private slots:
    void on_buttonBox_accepted();

    void on_buttonBox_rejected();

    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::CategoryDialog *ui;
    bool isAccepted;
};

#endif // CATEGORYDIALOG_H
